<!DOCTYPE html>
<html lang="en">
<head>	
    <meta charset="UTF-8">
    <title>表单示例</title>
</head>
<body>
    <form>
        用户名：<input type="text" name="username" placeholder="请输入用户名" required><br><br>
        密码：<input type="password" name="password" placeholder="请输入密码" required><br><br>
        性别：
        <input type="radio" name="gender" value="male"> 男
        <input type="radio" name="gender" value="female"> 女<br><br>
        爱好：
        <input type="checkbox" name="hobby" value="reading"> 阅读
        <input type="checkbox" name="hobby" value="sports"> 运动
        <input type="checkbox" name="hobby" value="music"> 音乐<br><br>
        <input type="submit" value="提交">
        <input type="reset" value="重置">
    </form>
</body>
</html>